// Are we crediting user in wallet all the time?
//[MK] It wont happen all the time. refer to model/callback
<% if @card_transaction.successful? %>
  alert('Successfully walleted');
  $('#<%= @card_transaction.payment_transaction_id %> .action .wallet_link').hide();
  $('#<%= @card_transaction.payment_transaction_id %> .gateway_order_status').text('<%= @card_transaction.gateway_order_status %>')
<% else %>
  alert('Could not wallet the money. Got order status <%= @card_transaction.gateway_order_status %>');
  $('#<%= @card_transaction.payment_transaction_id %> .gateway_order_status').text('<%= @card_transaction.gateway_order_status %>')
<% end %>